package com.worldstear.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum FinanceChannelEnum {
    WE_CHAT(1, "微信"),
    ALI(1, "支付宝"),
    MEI_TUAN(3, "美团"),
    CD(4, "京东");



    FinanceChannelEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue //标记数据库存的值是code
    private final int code;
    private final String desc;
}
